package com.my;

import com.my.common.bean.User;
import com.my.common.bean.UserUtils;

import java.util.List;

/**
 * @author mars
 * @date 2024-09-13 14:49
 */
public class AnalysisDemo {

    public static void main(String[] args) {
        List<User> users = UserUtils.getUserList();
        groupByMonth(users);

    }

    private static List<User> groupByMonth(List<User> users) {
        users.forEach(e -> {
            System.out.println(e.getRegisterTime().getMonthValue());
        });
        return null;
    }

}
